package com.elasticsearch.service;

import com.elasticsearch.model.Project;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * @author chong
 * @create 2020/3/24
 * Desc:
 */
public interface ProjectService {

    List<Project> findAllByProCode(String proCode);

    Project save(Project project);

    List<Project> findAll();

    void savaAll(List<Project> list);

    Page<Project> queryProPageList(Pageable pageable);
}
